package com.xiaoyu.client.model.goods;

import java.util.List;

/**
 * 商城首页轮播图、类型和推荐
 */
public class MallHomeBean {

    /**
     * code : y200
     * message : 成功
     * data : {"lunbo":[{"goodslunboid":"1","lunboimg":"http://shangshangzhuangshi.oss-cn-beijing.aliyuncs.com/1538016224301.png","lunbojump":"1","jumpid":"1"},{"goodslunboid":"2","lunboimg":"http://shangshangzhuangshi.oss-cn-beijing.aliyuncs.com/1538016224301.png","lunbojump":"1","jumpid":"1"}],"tag":[{"goodstagid":"4","goodstagname":"发动机","goodstagimg":""},{"goodstagid":"3","goodstagname":"柴油","goodstagimg":""},{"goodstagid":"2","goodstagname":"柴滤","goodstagimg":""},{"goodstagid":"1","goodstagname":"机油","goodstagimg":""}],"relunbo":[{"goodsid":"4","goodslbimg":"http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608744.png"},{"goodsid":"5","goodslbimg":"http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608744.png"}],"relist":[{"goodsid":"1","goodsimg":"http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608600.png","goodslbimg":"http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608744.png"},{"goodsid":"2","goodsimg":"http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608600.png","goodslbimg":"http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608744.png"},{"goodsid":"3","goodsimg":"http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608600.png","goodslbimg":"http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608744.png"},{"goodsid":"6","goodsimg":"http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608600.png","goodslbimg":"http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608744.png"}]}
     */

    private String code;
    private String message;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<LunboBean> lunbo;
        private List<MallTagBean> tag;
        private List<RelunboBean> relunbo;
        private List<RelistBean> relist;
        private List<PeixianBean> peixian;

        public List<LunboBean> getLunbo() {
            return lunbo;
        }

        public void setLunbo(List<LunboBean> lunbo) {
            this.lunbo = lunbo;
        }

        public List<MallTagBean> getTag() {
            return tag;
        }

        public void setTag(List<MallTagBean> tag) {
            this.tag = tag;
        }

        public List<RelunboBean> getRelunbo() {
            return relunbo;
        }

        public void setRelunbo(List<RelunboBean> relunbo) {
            this.relunbo = relunbo;
        }

        public List<RelistBean> getRelist() {
            return relist;
        }

        public void setRelist(List<RelistBean> relist) {
            this.relist = relist;
        }

        public List<PeixianBean> getPeixian() {
            return peixian;
        }

        public void setPeixian(List<PeixianBean> peixian) {
            this.peixian = peixian;
        }

        public static class PeixianBean {
            /**
             * imgname : 配件升级
             * imgurl : http://linshi.wldsart.com/public/goodstag/peijian.png
             */

            private String imgname;
            private String imgurl;

            public String getImgname() {
                return imgname;
            }

            public void setImgname(String imgname) {
                this.imgname = imgname;
            }

            public String getImgurl() {
                return imgurl;
            }

            public void setImgurl(String imgurl) {
                this.imgurl = imgurl;
            }
        }

        public static class LunboBean {
            /**
             * goodslunboid : 1
             * lunboimg : http://shangshangzhuangshi.oss-cn-beijing.aliyuncs.com/1538016224301.png
             * lunbojump : 1
             * jumpid : 1
             */

            private String goodslunboid;
            private String lunboimg;
            private String lunbojump;
            private String jumpid;


            public String getGoodslunboid() {
                return goodslunboid;
            }

            public void setGoodslunboid(String goodslunboid) {
                this.goodslunboid = goodslunboid;
            }

            public String getLunboimg() {
                return lunboimg;
            }

            public void setLunboimg(String lunboimg) {
                this.lunboimg = lunboimg;
            }

            public String getLunbojump() {
                return lunbojump;
            }

            public void setLunbojump(String lunbojump) {
                this.lunbojump = lunbojump;
            }

            public String getJumpid() {
                return jumpid;
            }

            public void setJumpid(String jumpid) {
                this.jumpid = jumpid;
            }
        }

        public static class MallTagBean {
            /**
             * goodstagid : 4
             * goodstagname : 发动机
             * goodstagimg :
             */

            private String goodstagid;
            private String goodstagname;
            private String goodstagimg;

            public String getGoodstagid() {
                return goodstagid;
            }

            public void setGoodstagid(String goodstagid) {
                this.goodstagid = goodstagid;
            }

            public String getGoodstagname() {
                return goodstagname;
            }

            public void setGoodstagname(String goodstagname) {
                this.goodstagname = goodstagname;
            }

            public String getGoodstagimg() {
                return goodstagimg;
            }

            public void setGoodstagimg(String goodstagimg) {
                this.goodstagimg = goodstagimg;
            }
        }

        public static class RelunboBean {
            /**
             * goodsid : 4
             * goodslbimg : http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608744.png
             */

            private String goodsid;
            private String goodslbimg;

            public String getGoodsid() {
                return goodsid;
            }

            public void setGoodsid(String goodsid) {
                this.goodsid = goodsid;
            }

            public String getGoodslbimg() {
                return goodslbimg;
            }

            public void setGoodslbimg(String goodslbimg) {
                this.goodslbimg = goodslbimg;
            }
        }

        public static class RelistBean {
            /**
             * goodsid : 1
             * goodsimg : http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608600.png
             * goodslbimg : http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608744.png
             */

            private String goodsid;
            private String goodsimg;//商品小图
            private String goodslbimg;//商品大图（只是第一个商品用）

            public String getGoodsid() {
                return goodsid;
            }

            public void setGoodsid(String goodsid) {
                this.goodsid = goodsid;
            }

            public String getGoodsimg() {
                return goodsimg;
            }

            public void setGoodsimg(String goodsimg) {
                this.goodsimg = goodsimg;
            }

            public String getGoodslbimg() {
                return goodslbimg;
            }

            public void setGoodslbimg(String goodslbimg) {
                this.goodslbimg = goodslbimg;
            }
        }
    }
}
